<cd-alert-panel type="info"
                *ngIf="!orchestratorExist && !checkingOrchestrator"
                i18n>Please consult the
  <a href="{{ docsUrl }}"
     target="_blank">documentation</a> on how to
  configure and enable the orchestrator functionality.</cd-alert-panel>

<ng-container *ngIf="orchestratorExist">
  <legend i18n>Devices</legend>
  <div class="row">
    <div class="col-md-12">
      <cd-table [data]="devices"
                [columns]="columns"
                identifier="uid"
                forceIdentifier="true"
                columnMode="flex"
                (fetchData)="getInventory($event)"
                selectionType="single">
      </cd-table>
    </div>
  </div>
</ng-container>

<ng-template #osds
             let-value="value">
  <span *ngFor="let osdId of value; last as last">
    <span class="badge badge-dark">osd.{{ osdId }}</span>
    <span *ngIf="!last">&nbsp;</span>
  </span>
</ng-template>
